package com.ruiysoft.service.order.bean;


import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Date : 2018/11/3
 *
 * @author WenJialu
 */
public class OrderSkuDto implements Serializable {

	private static final long serialVersionUID = 478760442480945379L;

	private Long id;
	private Long orderId;
	private String orderNo;
	private Long skuId;
	private Long spuId;
	private String skuModel;
	private String merchandiseName;

	/**
	 * 数量
	 */
	private Integer quantity;
	/**
	 * 现金总价值
	 */
	private Long totalAmount;
	/**
	 * 现金单价
	 */
	private Long unitPrice;
	private Long collectedPrice;
	private BigDecimal profitMargin;
	private Long mainCategory;
	private Long shopId;
	private Long freightTemplateId;
	private String imgUrl;
	private Long creator;

	/**
	 * 0：固定虚拟支付金额方式；1:自由虚拟支付金额方式
	 */
	@TableField("price_strategy")
	private Integer priceStrategy = null;
	/**
	 * 虚拟单价
	 */
	@TableField("virtual_coin_price")
	private Long virtualCoinPrice;
	/**
	 * 需要支付的虚拟币
	 */
	@TableField("virtual_coin")
	private Long virtualCoin;
	/**
	 * 现金总额
	 */
	@TableField("total_cash")
	private Long totalCash;
	/**
	 * 成本单价
	 */
	@TableField("cost_price")
	private Long costPrice;


	public Long getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Long unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public Long getSpuId() {
		return spuId;
	}

	public void setSpuId(Long spuId) {
		this.spuId = spuId;
	}

	public String getSkuModel() {
		return skuModel;
	}

	public void setSkuModel(String skuModel) {
		this.skuModel = skuModel;
	}

	public String getMerchandiseName() {
		return merchandiseName;
	}

	public void setMerchandiseName(String merchandiseName) {
		this.merchandiseName = merchandiseName;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Long getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Long totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Long getCollectedPrice() {
		return collectedPrice;
	}

	public void setCollectedPrice(Long collectedPrice) {
		this.collectedPrice = collectedPrice;
	}

	public BigDecimal getProfitMargin() {
		return profitMargin;
	}

	public void setProfitMargin(BigDecimal profitMargin) {
		this.profitMargin = profitMargin;
	}

	public Long getMainCategory() {
		return mainCategory;
	}

	public void setMainCategory(Long mainCategory) {
		this.mainCategory = mainCategory;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public Long getFreightTemplateId() {
		return freightTemplateId;
	}

	public void setFreightTemplateId(Long freightTemplateId) {
		this.freightTemplateId = freightTemplateId;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}


	public Integer getPriceStrategy() {
		return priceStrategy;
	}

	public void setPriceStrategy(Integer priceStrategy) {
		this.priceStrategy = priceStrategy;
	}

	public Long getVirtualCoinPrice() {
		return virtualCoinPrice;
	}

	public void setVirtualCoinPrice(Long virtualCoinPrice) {
		this.virtualCoinPrice = virtualCoinPrice;
	}

	public Long getVirtualCoin() {
		return virtualCoin;
	}

	public void setVirtualCoin(Long virtualCoin) {
		this.virtualCoin = virtualCoin;
	}

	public Long getTotalCash() {
		return totalCash;
	}

	public void setTotalCash(Long totalCash) {
		this.totalCash = totalCash;
	}

	public Long getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(Long costPrice) {
		this.costPrice = costPrice;
	}
}
